Repository navigation
feat(print): ship FormTxt templates, wait 13 seconds, and name accounts on template lines (0.13.0) - #12
Merged
Conversation
FormLedger now gives up on FormTxt after 13 seconds instead of 100, as the owner chose, and the message and docs say so.
The compact value axis divided by 100 for every currency; it now reads the minor-unit count from engine/format, so a zero-decimal currency reads at full size once the dashboard names it.
FormLedger now carries its own FormTxt invoice template as an embedded .ftxt document, and formledger formtxt-template writes it for the person to open in FormTxt.
A free line started from a template shows its account, such as 4100 Sales, at the end of the description cell and in its tooltip, written once when the lines arrive; the Post button keeps the Confirm width so the label swap no longer moves the action row.
With no template id set, FormLedger looks in FormTxt's document list for the one named FormLedger invoice template and draws with it, and says how to add it when it is missing.
The FormTxt set-up now reads what is true: write the template with formtxt-template, open it in FormTxt, allow outside agents, and it records the 2026-11-27 run.
Records why FormLedger ships the template as a file the person opens in FormTxt and finds it by name, and the run that proved it.
FormLedger now also ships a FormTxt customer statement template, written with formtxt-template statement and found by name like the invoice one.
PRINT.md now describes the statement template and records that FormTxt drew a statement from it on 2026-11-27.
Records why the hint follows the description, why the Post label keeps its width, and that the chart axis waits for the dashboard to name the currency.
…aces The number cards, chart readouts and value axes read the places from the company's currency, so a currency with no minor unit is no longer 100 times too small. Reasoned from code; not seen with such a currency.
Every version site moves to v0.13.0 and the changelog gets its section.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(print): ship FormTxt templates, wait 13 seconds, and name accounts on template lines (0.13.0)
Summary
formledger formtxt-templatewrites FormLedger's own invoice template as a FormTxt file, andformledger formtxt-template statementthe statement one. Once the file is opened in FormTxt, FormLedger finds the template there by its name, with no environment value to set. A setFORMLEDGER_FORMTXT_TEMPLATE_INVOICEstill wins.Commits
12 commits, oldest first, release commit last:
Version
v0.13.0 (release commit is last). Bumped:
internal/app/version.go,Makefileline 1,web/package.json, two fields inweb/package-lock.json,src-tauri/tauri.conf.json,src-tauri/Cargo.toml, theformledger-desktopentry insrc-tauri/Cargo.lock, the "Current build version" line in the fourHASHOUT_LOG.mdfiles, the README badge, and a newCHANGELOG.mdsection.Checks
go build ./...passed at each of the 12 commits;go vet ./...,gofmtandnpm run checkinweb/passed at the head.formtxt-templatewrote a file holdingmimetypeanddocument.json.Not run: the dashboards change with a currency that has no minor unit (reasoned from code); "Allow once" in FormTxt; quotes, orders and buying documents through FormTxt (no template shipped); the desktop app was not compiled; nothing ran on macOS or Windows.
Merging
Merge with a merge commit so each commit and its signature stays. Do not squash.